#include<stdio.h>
int main()
{
	int ret=0;
	int ch=0;
	char password[20]={0};
	printf("请输入密码：");
	scanf("%s",password);
	while((ch=getchar())!='\n')
	{
		
	}
	printf("请确认：Y/N");
	ret=getchar();
	if(ret=='Y'){
		printf("确认成功");
	}else{
		printf("确认失败");
	}
	return 0;
}
